package com.hzhr.iot.device.model.pressureMonitor1_collectData;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.IotDeviceEntity;
import com.hzhr.iot.device.entity.RegulatorCollectDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "PressureMonitor1_CollectDataModel", description = "压力监测仪1的采集数据模型")
@CygModel(entity = RegulatorCollectDataEntity.class)
public class PressureMonitor1_CollectDataModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 设备号(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "envTemperature")
    private Float temperature;
    @ApiModelProperty(value = "说明 : 安装地址(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "pressure")
    private Double pressure;
    @ApiModelProperty(value = "说明 : 用户名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "collectTime")
    private Long collectTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Float getTemperature() {
        return temperature;
    }

    public void setTemperature(Float temperature) {
        this.temperature = temperature;
    }

    public Double getPressure() {
        return pressure;
    }

    public void setPressure(Double pressure) {
        this.pressure = pressure;
    }

    public Long getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Long collectTime) {
        this.collectTime = collectTime;
    }
}
